﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Discount.aspx.cs" Inherits="ISSMoviePlex.Admin.Discount" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="MemberStateGridView" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" CellPadding="4" 
        DataSourceID="MemberStateDataSource" ForeColor="#333333" GridLines="None">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="MemberStateId" HeaderText="MemberStateId" 
                SortExpression="MemberStateId" Visible="False" InsertVisible="False" />
            <asp:BoundField DataField="MemberStateName" HeaderText="State" 
                SortExpression="MemberStateName" />
            <asp:BoundField DataField="DiscountPercent" DataFormatString="{0}%" 
                HeaderText="Discount" SortExpression="DiscountPercent" />
            <asp:BoundField DataField="Amount" DataFormatString="${0}" 
                HeaderText="SpendAmountToNextState" SortExpression="Amount" />
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
    <asp:ObjectDataSource ID="MemberStateDataSource" runat="server" 
        SelectMethod="GetAllMemberStates" TypeName="ISSMoviePlex.BLL.MemberStateBLL">
    </asp:ObjectDataSource>
</asp:Content>
